<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <meta name="author" content="贾文清">
    <title></title>
    <style>
        body {
            margin: 0;
        }

        * {
            box-sizing: border-box;
        }

        nav {
            width: 100%;
            height: 54px;
            background-color: #292929;
        }

        .box {
            width: 1300px;
            height: 54px;
            margin: 0 auto;
            /* border: 1px solid red; */
            display: flex;
            justify-content: space-between;
        }

        ul,
        li {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .right {
            display: flex;
            justify-content: space-between;
        }

        .left {
            display: flex;
            justify-content: space-between;
        }

        .right li,
        .left li {
            width: 88px;
            height: 54px;
            line-height: 54px;
        }

        .right li a,
        .left li a {
            color: white;
            text-decoration: none;
        }

        .right li>a:hover,
        .left li>a:hover {
             color: #cba45c; 
        }

        .right .active a {
            color: #cba45c;
        }

        .right1 {
            display: none;
            width: 120px;
            height: 80px;
            font-size: 14px;
            background-color: rgba(41, 41, 41, .95);
            position: relative;
            left: -20px;
        }

        .active2:hover .right1 {
            display: block;
        }

        .right1 p {
            margin: 0;
            width: 120px;
            height: 40px;
            line-height: 40px;
        }
         .right1 p:hover{
            background-color:#e8c98a; 
        }
 
        .right1 p a {
            position: relative;
            left: 17px;
        } 

         .right2 {
            display: none;
            width: 100px;
            height: 180px;
            font-size: 14px;
            background-color: rgba(41, 41, 41, .95);
            position: relative;
            left: -10px;
            margin-top: -18px;
            z-index: 9;
        }

        .right2 p {
            width: 100px;
            height: 30px;
            line-height: 30px;
        }
        .right2 p:hover{
            background-color:#e8c98a; 
        }
         /* .right2 p:hover #kdy{
             color: #cba45c;
         } */

        .right2 p a {
            position: relative;
            left: 13px;
        } 
          .active3:hover .right2 {
            display: block;
        }
    </style>
</head>

<body>
    <nav>
        <div class="box">
            <ul class="right">
                <li class="active"><a href="#">会员首页</a></li>
                <li class="active2">
                    <a href="#">看电影</a>
                    <section class="right1">
                        <p><a href="#">华语电影</a></p>
                        <p><a href="#">海外大片</a></p>
                    </section>
                </li>
                <li class="active3">
                     <a href="#">看剧</a>
                    <section class="right2">
                        <p><a href="#">英剧</a></p>
                        <p><a href="#">美剧</a></p>
                        <p><a href="#">港剧</a></p>
                        <p><a href="#">韩剧</a></p>
                    </section> 
                </li>
                <li><a href="#">看动漫</a></li>
                <li><a href="#">纪录片</a></li>
                <li><a href="#">德云社</a></li>
                <li><a href="#">看直播</a></li>
            </ul>
            <ul class="left">
                <li><a href="#">我的会员</a></li>
                <li><a href="#">会员卡</a></li>
            </ul>
        </div>
    </nav>
</body>

</html>